<?php

/**
 * Description of ParserResult
 *
 * @author pahhan
 */
class Model_Parser_ParserResult
{
    public $external_id;
    public $title;
    public $content;
    public $published_at;
    public $tags;

    public function toArray()
    {
        return array(
            'external_id' => $this->getExternalId(),
            'title' => $this->getTitle(),
            'content' => $this->getContent(),
            'published_at' => $this->getPublishedAt(),
            'tags' => $this->getTags()
        );
    }

    public function getExternalId()
    {
        return $this->external_id;
    }

    public function getTitle()
    {
        return $this->title;
    }

    public function getContent()
    {
        return $this->content;
    }

    public function getPublishedAt()
    {
        return $this->published_at;
    }

    public function getTags()
    {
        return $this->tags;
    }
}